package com.goldenKey.common.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * TODO 邮箱验证码实体类
 *
 * @author DB
 * <br>CreateDate 2021/9/13 0:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ToEmailDto implements Serializable {

    //    邮件接收方
    @NotEmpty
    private String[] tos;

    //    邮件主题
    private String subject;

    //    邮件内容
    private String content;
}
